[INFO] cloning repository https://github.com/ericxtchen/dist_kv_store
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericxtchen/dist_kv_store" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericxtchen%2Fdist_kv_store", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericxtchen%2Fdist_kv_store'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e513cdb880aecfe7c7f9ffbe373d56247472f478
[INFO] fixing ericxtchen/dist_kv_store against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericxtchen%2Fdist_kv_store" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ericxtchen/dist_kv_store
[INFO] finished tweaking git repo https://github.com/ericxtchen/dist_kv_store
[INFO] tweaked toml for git repo https://github.com/ericxtchen/dist_kv_store written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ericxtchen/dist_kv_store on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ericxtchen/dist_kv_store already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8c2d2089fe39032d2d97934b8c33571eab2295a4c3e1c1d58719bc8fbbfa2faf
[INFO] running `Command { std: "docker" "start" "8c2d2089fe39032d2d97934b8c33571eab2295a4c3e1c1d58719bc8fbbfa2faf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c2d2089fe39032d2d97934b8c33571eab2295a4c3e1c1d58719bc8fbbfa2faf" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c2d2089fe39032d2d97934b8c33571eab2295a4c3e1c1d58719bc8fbbfa2faf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c2d2089fe39032d2d97934b8c33571eab2295a4c3e1c1d58719bc8fbbfa2faf" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking hash32 v0.2.1
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking cobs v0.3.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking postcard v1.1.3
[INFO] [stderr]     Checking kv_store v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/replication/leader.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |             if (last_written_offset < &core.last_read_offset) {
[INFO] [stdout]    |                ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 34 -             if (last_written_offset < &core.last_read_offset) {
[INFO] [stdout] 34 +             if last_written_offset < &core.last_read_offset  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/replication/leader.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |             if (last_written_offset < &core.last_read_offset) {
[INFO] [stdout]    |                ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 34 -             if (last_written_offset < &core.last_read_offset) {
[INFO] [stdout] 34 +             if last_written_offset < &core.last_read_offset  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_byte_pos` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]   --> src/replication/leader.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout]  9 |                   let byte_pos = core.kv_store
[INFO] [stdout]    |  ________________________________-
[INFO] [stdout] 10 | |                     .get_byte_pos(from_offset)
[INFO] [stdout]    | |                     -^^^^^^^^^^^^ method not found in `Result<ArcRwLockKvStore, std::io::Error>`
[INFO] [stdout]    | |_____________________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_byte_pos` exists on the type `ArcRwLockKvStore`
[INFO] [stdout]   --> src/store/memory.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn get_byte_pos(&self, offset: u64) -> Option<&u64> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the `?` operator to extract the `ArcRwLockKvStore` value, propagating a `Result::Err` value to the caller
[INFO] [stdout]    |
[INFO] [stdout]  9 |                 let byte_pos = core.kv_store?
[INFO] [stdout]    |                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `wal_log` on type `Result<ArcRwLockKvStore, std::io::Error>`
[INFO] [stdout]   --> src/replication/leader.rs:12:45
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 let entries = core.kv_store.wal_log.get_entries(*byte_pos)?;
[INFO] [stdout]    |                                             ^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 let entries = core.kv_store.unwrap().wal_log.get_entries(*byte_pos)?;
[INFO] [stdout]    |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `wal_log` on type `Result<ArcRwLockKvStore, std::io::Error>`
[INFO] [stdout]   --> src/replication/leader.rs:35:45
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let entries = core.kv_store.wal_log.get_entries(*last_written_offset)?;
[INFO] [stdout]    |                                             ^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let entries = core.kv_store.unwrap().wal_log.get_entries(*last_written_offset)?;
[INFO] [stdout]    |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `wal_log` on type `Result<ArcRwLockKvStore, std::io::Error>`
[INFO] [stdout]   --> src/replication/replica.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 |                     core.kv_store.wal_log.append(wal_entry);
[INFO] [stdout]    |                                   ^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 10 |                     core.kv_store.unwrap().wal_log.append(wal_entry);
[INFO] [stdout]    |                                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_byte_pos` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]   --> src/replication/leader.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout]  9 |                   let byte_pos = core.kv_store
[INFO] [stdout]    |  ________________________________-
[INFO] [stdout] 10 | |                     .get_byte_pos(from_offset)
[INFO] [stdout]    | |                     -^^^^^^^^^^^^ method not found in `Result<ArcRwLockKvStore, std::io::Error>`
[INFO] [stdout]    | |_____________________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_byte_pos` exists on the type `ArcRwLockKvStore`
[INFO] [stdout]   --> src/store/memory.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn get_byte_pos(&self, offset: u64) -> Option<&u64> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the `?` operator to extract the `ArcRwLockKvStore` value, propagating a `Result::Err` value to the caller
[INFO] [stdout]    |
[INFO] [stdout]  9 |                 let byte_pos = core.kv_store?
[INFO] [stdout]    |                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `wal_log` on type `Result<ArcRwLockKvStore, std::io::Error>`
[INFO] [stdout]   --> src/replication/leader.rs:12:45
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 let entries = core.kv_store.wal_log.get_entries(*byte_pos)?;
[INFO] [stdout]    |                                             ^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 let entries = core.kv_store.unwrap().wal_log.get_entries(*byte_pos)?;
[INFO] [stdout]    |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `wal_log` on type `Result<ArcRwLockKvStore, std::io::Error>`
[INFO] [stdout]   --> src/replication/leader.rs:35:45
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let entries = core.kv_store.wal_log.get_entries(*last_written_offset)?;
[INFO] [stdout]    |                                             ^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let entries = core.kv_store.unwrap().wal_log.get_entries(*last_written_offset)?;
[INFO] [stdout]    |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `wal_log` on type `Result<ArcRwLockKvStore, std::io::Error>`
[INFO] [stdout]   --> src/replication/replica.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 |                     core.kv_store.wal_log.append(wal_entry);
[INFO] [stdout]    |                                   ^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 10 |                     core.kv_store.unwrap().wal_log.append(wal_entry);
[INFO] [stdout]    |                                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `heartbeat_timed_out` found for mutable reference `&mut FollowerRole` in the current scope
[INFO] [stdout]   --> src/replication/replica.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |             if self.heartbeat_timed_out() {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^ method not found in `&mut FollowerRole`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `LeaderFailed` found for enum `NodeStatusMessage`
[INFO] [stdout]   --> src/replication/replica.rs:29:36
[INFO] [stdout]    |
[INFO] [stdout] 29 |                 NodeStatusMessage::LeaderFailed { leader_id: self.leader_id.unwrap() }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^ variant not found in `NodeStatusMessage`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/replication/mod.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum NodeStatusMessage {
[INFO] [stdout]    | -------------------------- variant `LeaderFailed` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `heartbeat_timed_out` found for mutable reference `&mut FollowerRole` in the current scope
[INFO] [stdout]   --> src/replication/replica.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |             if self.heartbeat_timed_out() {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^ method not found in `&mut FollowerRole`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant named `LeaderFailed` found for enum `NodeStatusMessage`
[INFO] [stdout]   --> src/replication/replica.rs:29:36
[INFO] [stdout]    |
[INFO] [stdout] 29 |                 NodeStatusMessage::LeaderFailed { leader_id: self.leader_id.unwrap() }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^ variant not found in `NodeStatusMessage`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/replication/mod.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum NodeStatusMessage {
[INFO] [stdout]    | -------------------------- variant `LeaderFailed` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0609.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kv_store` (lib test) due to 6 previous errors; 1 warning emitted
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0599, E0609.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kv_store` (lib) due to 6 previous errors; 1 warning emitted
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8c2d2089fe39032d2d97934b8c33571eab2295a4c3e1c1d58719bc8fbbfa2faf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c2d2089fe39032d2d97934b8c33571eab2295a4c3e1c1d58719bc8fbbfa2faf", kill_on_drop: false }`
[INFO] [stdout] 8c2d2089fe39032d2d97934b8c33571eab2295a4c3e1c1d58719bc8fbbfa2faf
